public class ReturnThis
{
	public int age;
	public ReturnThis grow()
	{
		age++;
		//return this 返回调用该方法的对象
		return this;
	}
	public static void main(String[] args)
	{
		ReturnThis rt = new ReturnThis();
		//可以连续调用同一个方法
		rt.grow()
			.grow()
			.grow();
		System.out.println("rt的age成员变量值是:"+rt.age);
	}
}